package com.example.springbootlearn.config;

import org.springframework.stereotype.Component;

@Component
public class CircularDependencyA {

    private CircularDependencyB circB;


    public void setCircB(CircularDependencyB circB) {
        this.circB = circB;
    }

    public CircularDependencyB getCircB() {
        return circB;
    }

    public CircularDependencyA(){
        System.out.println("A创建成功-----");
    }

}
